package cn.kogee.mapper;

import cn.kogee.domian.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface StudentMapper {
    //新增
    void save(Student student);
    //根据ID查询
    Student loadById(Long id);
    //查询所有
    List<Student> loadAll();
}
